<%@ Page language="c#" Codebehind="SOAddGift.aspx.cs" AutoEventWireup="True" Inherits="EntLibEC.View.Sale.SOAddGift" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD runat="server">
		<title>SOAddGift</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../Cmn/EntLibEC.js"></script>
	</HEAD>
	<body  onload="<%=bodyOnLoad%>">
		<form id="SOAddGift" method="post" runat="server">
			<table class="tbl" cellSpacing="1" cellPadding="2" width="95%" align="center" border="0">
				<tr class="tblrow">
					<td class="title" colSpan="4">Select Gift</td>
				</tr>
				<tr class="tblrow">
					<td align="center" width="10%"><asp:label id="lblProductID" runat="server" ForeColor="Blue"></asp:label></td>
					<td width="40%"><asp:label id="lblProductName" runat="server" ForeColor="Blue"></asp:label></td>
					<td align="right" width="10%">Quantity:</td>
					<td><asp:textbox id="txtQty" runat="server" Width="32px" ReadOnly="True" ForeColor="Blue"></asp:textbox></td>
				</tr>
				<tr class="tblrow">
					<td align="center" colSpan="4">
						<asp:Button id="btnAdd" runat="server" Text="Add" Width="42px" onclick="btnAdd_Click"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:button id="btnRefresh" runat="server" Text="Refresh" onclick="btnRefresh_Click"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:button id="btnClose" runat="server" Text="Close"></asp:button></td>
				</tr>
				<tr class="tblrow">
					<td align="left" colSpan="4"><asp:label id="lblmsg" runat="server"></asp:label>
						<asp:Label id="lblGiftSysNo" runat="server" Visible="False"></asp:Label></td>
				</tr>
			</table>
			<table cellSpacing="1" cellPadding="2" width="95%" align="center" border="0">
				<tr>
					<td><asp:datagrid id="myGrid" CssClass="DataGridBorder" runat="server" Width="100%" AutoGenerateColumns="False"
							DataKeyField="SysNo" AlternatingItemStyle-CssClass="alternatingcolor" HeaderStyle-CssClass="DataGridHead">
							<Columns>
								<asp:BoundColumn DataField="SysNo" Visible="False"></asp:BoundColumn>
								<asp:BoundColumn DataField="ProductID" HeaderText="Product ID" ItemStyle-HorizontalAlign="Center"></asp:BoundColumn>
								<asp:BoundColumn DataField="ProductName" HeaderText="Product Name"></asp:BoundColumn>
								<asp:BoundColumn DataField="Weight" HeaderText="Weight" ItemStyle-HorizontalAlign="Right"></asp:BoundColumn>
								<asp:BoundColumn DataField="OnlineQty" HeaderText="OnlineQty" ItemStyle-HorizontalAlign="Right"></asp:BoundColumn>
								<asp:ButtonColumn CommandName="Select" ItemStyle-HorizontalAlign="Center" Text="&lt;img src=&quot;../Images/select.gif&quot; border=0&gt;"
									HeaderText="Select"></asp:ButtonColumn>
							</Columns>
						</asp:datagrid></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
